package GameItem.Direction
{
	public class DirectionFactory
	{
		public function DirectionFactory()
		{
		}
		private static var m_upDirection:Direction=new UpDirection();
		private static var m_downDirection:Direction=new DownDirection();
		private static var m_leftDirection:Direction=new LeftDirection();
		private static var m_rightDirection:Direction=new RightDirection();
		public static function get UP():Direction
		{
			return m_upDirection;
		}
		public static function get DOWN():Direction
		{
			return m_downDirection;
		}
		public static function get LEFT():Direction
		{
			return m_leftDirection;
		}
		public static function get RIGHT():Direction
		{
			return m_rightDirection;
		}
	}
}